<template>
  <view class="wrapper uni-flex uni-column">
    <text>显示本地图片</text>
    <image src="../../../static/logo.png" mode="aspectFit" />
    <text>显示远程图片</text>
    <image src="https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/shuijiao.jpg" mode="scaleToFit" />
    <text>显示base64图片</text>
    <image :src="base64Img" mode="scaleToFit" />
  </view>
</template>

<script setup lang="ts">
const base64Img =
  ''
</script>

<style lang="scss" scoped>
.wrapper {
  align-items: center;
  image {
    width: 200rpx;
    height: 200rpx;
  }
}
</style>
